package chongxin;

public class FDoor  implements Suo,Door,Pict{
    @Override
    public void openDoor(){
        System.out.println("门开了");
    }
    @Override
    public void closeDoor(){
        System.out.println("门关了");
    }
    @Override
    public void openSuo() {
        System.out.println("锁开了");
    }
    @Override
    public void closeSuo() {
        System.out.println("锁关了");
    }
    public static void main(String[] args) {
        FDoor TH=new FDoor();
        TH.openDoor();
        TH.closeDoor();
        TH.openSuo();
        TH.closeSuo();
        TH.PictDoor();
    }

    @Override
    public void PictDoor() {
        System.out.println("铃，咔嚓，照片已经存储");
    }
}
